Top "Square" questions

Square APIs lets developers process payments online & in-person as well as accessing different information in Square merchant accounts.

How can I handle empty response body with Retrofit 2?

Recently I started using Retrofit 2 and I faced an issue with parsing empty response body. I have a server which …

android retrofit retrofit2 square
Retrofit - @Body parameters cannot be used with form or multi-part encoding

I m trying to make a request in which I want to include a Header , a form-urlencoded field and a …

android api retrofit square
How to specify a default user agent for okhttp 2.x requests

I am using okhttp 2.0 in my Android app and didn't find a way to set some common User Agent for …

android square okhttp
Square a list (or array?) of numbers in Python

I'm coming from a MATLAB background and this simple operation so far seems to be extremely complicated to implement in …

python square
How does Square's CardCase app automatically populate the user's details from the address book?

Square's new card case iOS app has a "Create Account" feature. Tap it and it shows a form PREPOPULATED with …

ios abaddressbook square
Custom converter to subclass with Moshi

I have a User class. And two subclasses. Parent and Child. I get json from my server with {"user":"..."} and …

android square moshi
Get String response body from retrofit2

I am using retrofit1 old style @GET("/loginUser") public Call<Response> login( @Query("email") String email, @Query("password") …

java android eclipse retrofit square
Android Retrofit Base64 @Body

Hi all i have this code in android 4.3 and i am using retrofit just now but server thrown me an …

java android square retrofit