We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello
url: "http://my.server.com", params: { "user_id": 123 }, headers: { "my-auth-token":"secret-key" }
i have a rest api to update rider location
const updateRiderInfo = ({body}: {body: any}) => { return new Promise((resolve, reject) => { NetWorkService.Patch({ url: riders/updateByRider, body: body, }) .then((res) => resolve(res)) .catch((error) => reject(error)); }); };
riders/updateByRider
is there any so that i can set Patch method and body:{lat:0, long:0} in the config?
The text was updated successfully, but these errors were encountered:
See the api docs Config to see all the options available to you beginning with the word “http”.
Config
http
Sorry, something went wrong.
No branches or pull requests
Hello
url: "http://my.server.com",
params: {
"user_id": 123
},
headers: {
"my-auth-token":"secret-key"
}
i have a rest api to update rider location
const updateRiderInfo = ({body}: {body: any}) => {
return new Promise((resolve, reject) => {
NetWorkService.Patch({
url:
riders/updateByRider
,body: body,
})
.then((res) => resolve(res))
.catch((error) => reject(error));
});
};
is there any so that i can set Patch method and body:{lat:0, long:0} in the config?
The text was updated successfully, but these errors were encountered: