What is the size of a recaptcha token generated from the recaptcha widget? - recaptcha

Trying to send the recaptcha token to a backend service for verification and I need to know the size of the token. Is it a standard size in bytes or is it variable

The generated reCAPTCHA token is not a fixed size in either bytes or number of characters. The length is variable so I would not try to assign it to a fixed size string or buffer.

Related

The public subscriber lists pages not matching batch size and total counts

I am trying to get a list of my public subscribers. When I execute the request below I get weird and inconsistent results. When I ask for a max result size of 50 I get two pages back, one with 27 and another with 9. Also when I look at my web page subscribers it says I only have 24 public subscribers. I have 95 total subscribers.
Why is it paging in buckets less than my max page size?
Why are the reported numbers so far off?
https://www.googleapis.com/youtube/v3/subscriptions?part=subscriberSnippet&mySubscribers=true&key=[MY_API_KEY]
According to the official docs, for to call the Subscriptions.list API endpoint with parameter mySubscribers=true you have to pass on to the endpoint proper authorization credentials:
mySubscribers (boolean)
This parameter can only be used in a properly authorized request. Set this parameter's value to true to retrieve a feed of the subscribers of the authenticated user in no particular order.
Therefore, passing on only an application key, via the parameter key, is not sufficient. If passing on proper authorization credentials (i.e. a valid access token), then the key parameter is superfluous.

Can bot send messages over 300kb to user?

I am creating a message to send to user from bot. The type is data and size is at about 1mb. When I am using bot emulator the message works, but when I publish my bot the message doesn't work. The Badrequest error is returned.
My question is: Is it possible to send messages over 300kb from bot to user?
Thank you so much for your attention.
There is no set size limit within the bot framework itself as this is dependent on the channels. You will have to refer to the respective channel API documentation to know about the message size limits.
The documentation on message length for Microsoft Teams can be found here.
For the Direct Line channel, he total size of the activity, when serialized to JSON, must not exceed 300K characters.The file size limit or the attachment limit is 4MB.
For Facebook Messenger,the text message must be UTF-8 and has a 2000 character limit.

JSON body exceeded maximum document size

When i am trying to upload a document of size even less then 5MB of .txt format
browser is showing JSON body exceeded maximum document size error. But the same web service in postman is giving the correct response. Does angular have any post body length limitations? or Browser? or Server?.
Check the content type, it must be set as application/json.

Parse request json size limit

I recently discovered Parse, and I want to use the push service. So this is how I plan to do targetted push:
Store the device tokens I got from Parse to my server, and associate every device token with matching user id.
When it's time to push, my server will tell Parse which device I want to push by using device tokens as the identifier.
I prefer sending all device tokens at once to Parse server instead of sending one by one, for the sake of reducing number of requests. What I'm worried about is Parse will reject my request because of the large list of device tokens. Does Parse have a limit of uploaded data size?
Yes, there is a limit. Neither where clause nor data may exceed 64kB.

How to send long query string in Windows Phone with HttpWebRequest

I am making an API call to Facebook, using the Facebook C# SDK, and I can't seem to send long query strings via HTTP GET. I need a long FQL query (select .. from .. where .. in ) to execute and I can't seem to send it. If the query is smaller, it does send successfully and return the results. Unfortunatelly, as FQL supports GET and not POST, I am stuck to GET.
How can I increase the default query string limit in Windows Phone HttpWebRequest?
I am using Windows Phone SDK 7.1, but testing on Windows Phone 8 device.
It seems you need to switch to http post (if possible) or optimize your request somehow.
Read What is the maximum length of a URL in different browsers?. While the official standard for HTTP says that there should be no maximum, in reality there are maximums. For example, IE have an upper bound of 2083 characters. Windows Phone seems to have similar limit to IE.
Microsoft Internet Explorer has a maximum uniform resource locator
(URL) length of 2,083 characters. Internet Explorer also has a maximum
path length of 2,048 characters. This limit applies to both POST
request and GET request URLs.
If you are using the GET method, you are limited to a maximum of 2,048
characters, minus the number of characters in the actual path.
However, the POST method is not limited by the size of the URL for
submitting name/value pairs. These pairs are transferred in the header
and not in the URL.
RFC 2616, "Hypertext Transfer Protocol -- HTTP/1.1," does not specify
any requirement for URL length.
Source: http://social.msdn.microsoft.com/Forums/en-US/wpdevelop/thread/f96622fe-4dcb-4d38-8831-4cfad1aa4a06/

Resources