api Mlb
Como posso consumir este insert no delphi ?
POST /databases//collections/
Content-Type: application/json
Body: <JSON data>
Example (using jQuery):
$.ajax( { url: "https://api.mlab.com/api/1/databases/my-db/collections/my-coll?apiKey=myAPIKey",
data: JSON.stringify( { "x" : 1 } ),
type: "POST",
contentType: "application/json" } );
POST /databases//collections/
Content-Type: application/json
Body: <JSON data>
Example (using jQuery):
$.ajax( { url: "https://api.mlab.com/api/1/databases/my-db/collections/my-coll?apiKey=myAPIKey",
data: JSON.stringify( { "x" : 1 } ),
type: "POST",
contentType: "application/json" } );
Fabricio Castro
Curtidas 0
Respostas
Raylan Zibel
01/03/2017
Paleta Indy, componente idHTTP, fazer request com POST, adicionar Header.
GOSTEI 0