Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[Basic HttpService] How to Post the token?

Asked by 9 years ago

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

0
9+10 = 21. Vezious 310 — 9y
0
GetAsync will retrieve data. PostAsync will send data. RaverKiller 668 — 9y
0
Ik all that but I need to know how to post the Token wWTheCreatorWw 0 — 9y
0
You might want to learn some stuff about web development to understand what to do... MisaMiner 50 — 9y

Answer this question