Reputation: 41
I'm using JSON Api in my project and to implement it i used this library : https://github.com/ghidoz/angular2-jsonapi. So i'm trying to send a Post request with "meta" in body only and getting in response a meta. Like sending this:
{
"meta": {
"email": "[email protected]",
"password": "123"
}
}
but i just dont know how to do it since all methods in this library take for argument JsonApiModel where there is always data in it, " meta " seems only optionnal and they dont talk about it or at least an exemple.
I also expect in return a meta like this
{ "meta": { "apiKey": "e6d7535b5695a1b1d301b8ce52ed65131f8003a2" } }
Documentation of the API in Orocommerce
Upvotes: 0
Views: 521