question: public RestApi ( String name ) { if ( name . startsWith ( "/" ) ) { name = name . substring ( 1 ) ; } url = new StringBuilder ( ) ; url . append ( GWT . getHostPageBaseURL ( ) ) ; url . append ( name ) ; }
target:  Initialize a new API call. <p> By default the JSON format will be selected by including an HTTP Accept header in the request.