All Questions
1,846
questions
0
votes
1
answer
33
views
Eventstore HTTP API, Subscription response with unexpected content type
i am using the eventstore http api to get events from an persistent subscription. It works, but the response give me an xml structure instead of json. Can anyone tell me what's wrong with my request?
&...
0
votes
1
answer
25
views
When use post, when use get
I have a doubt, I have an API in which I will pass a JSON to get data referring to a request.
So is it necessary to use the ResquestBody, in this case, do I use GET or POST?
-3
votes
1
answer
42
views
What is '?' is meaning in url? [duplicate]
I'm writing code and when I type in the earthquake API link I noticed a '?' in the link and then I try to find information about it but no progress.
What is the meaning of '?' in url like this:
https:/...
0
votes
0
answers
23
views
http response in a plane txt format
I was validating an API's data. I'm going through the a HTTP response and I was expecting something in json or XML or traditional format but I'm receiving something like this:
---------------------...
0
votes
1
answer
43
views
Post API in Julia when the input is a JSON
I'm trying to access the TexSmart HTTP API https://ai.tencent.com/ailab/nlp/texsmart/en/api.html , where the input text is a dictionary matching the following structure:
Dict("str" => &...
0
votes
1
answer
255
views
should i be using any state management for api calls in flutter?
What is the point of using state management like provider or getx for apis ?
I mean why is the use of using any state management while it can be simply done with future or stream builder. Why do i ...
0
votes
1
answer
32
views
Why am I seeing the error 'type 'Null' is not a subtype of type 'int'' in my Flutter http API call?
when i run my code have error.
the contents of the error "type 'Null' is not a subtype of type 'int'"
Below is my code where the problem occurs
class HttpHelper{
final String urlKey = '...
3
votes
1
answer
745
views
Understanding of a gRPC Transcoding syntax
I'm trying to use Google API's. I found a method:
GET https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/conversionEvents
With a mark:
The URL uses gRPC Transcoding syntax.
I need put ...
0
votes
0
answers
93
views
Server Error response when i change the api url parameters in laravel
I have a code that call an external API using laravel controller. The code works fine before until one day i tried to make a call it gave me an error response. This API is supposed to be returning a ...
0
votes
1
answer
84
views
Error when trying to access API endpoint of server SQLSTATE[HY000] [1049] Unknown database 'laravel'
I am trying to access API server for client side, I created 2 laravel folders, one for server and one for client, but when I try to access API server endpoint I got error as stated in title,but my ...
0
votes
1
answer
229
views
Is it ok to create entity in GET REST controller method with name getOrCreateIfNotExist?
So, I have some task, I have to create endpoint that should getOrCreateIfNotExist. But I`m not sure, is it ok practice to create some entity in the GET request. Or I should to do another call to the ...
0
votes
0
answers
33
views
How to identify the cause of an API call repeating itself in Angular JS?
I am having an issue with AngularJS where when an order is placed, the api is called multiple times, but only reaches success() once. This is the code in question:
function placeOrder(cart) {
...
0
votes
1
answer
312
views
how can secure my API call in flutter app?
When using http package for API call. But HttpToolKit software get my api all information like headers, body and url. How can i hide all thing in flutter.
1
vote
1
answer
562
views
Stream encountered HTTP error: 404 HTTP error response text
def start_streaming_tweets(self, search_term):
self.filter(track=search_term, stall_warnings=True, languages=["en"])
if name == 'main':
twitter_stream = TweetListener(consumerKey, ...
0
votes
0
answers
280
views
How to use the Google Fit API in Swift
What are the steps needed to include the Google Fit API inside an Xcode project using swift.
I already used the documentation given by Google but it is very complex to understand everything right. ...