A
A
Andrey Sokolov2019-08-03 11:34:17
API
Andrey Sokolov, 2019-08-03 11:34:17

How to create a request for Web Api Key?

How to make it so that when you click on a button in the Love2d engine, an API KEY request is sent to the site, for example, you need to write such a link in Lua: https://market.csgo.com/api/v2/ping?key= [your_secret_key]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Neverov, 2019-08-03
@TTATPuOT

<form action="https://market.csgo.com/api/v2/ping" method="GET">
  <input type="hidden" name="key" value="[your_secret_key]">
  <button type="submit">Love2d</button>
</form>

By analogy, POST requests are also built, only instead of GET - POST.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question