Fórum api Mlb #576385
01/03/2017
0
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
Curtir tópico
+ 0
Responder
Posts
01/03/2017
Raylan Zibel
Paleta Indy, componente idHTTP, fazer request com POST, adicionar Header.
Responder
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)