Hello, I am just playing around with HttpService and I was wondering how to set the token for an api. An example being.

local HttpService = game:GetService("HttpService")
local TestApi	   = HttpService:GetAsync("https://george-vustrey-weather.p.mashape.com/api.php?location=Los+Angeles"

It needs a token, I have the token but I do not know how to post the data to the api. Help please? :D

4 comments

0

9+10 = 21.

0

GetAsync will retrieve data. PostAsync will send data.

0

Ik all that but I need to know how to post the Token

0

You might want to learn some stuff about web development to understand what to do...