当前位置: 首页 > 工具软件 > retrofit-cjs > 使用案例 >

android base64 + %2b,android - Retrofit send base64 encoded string in parameters - Stack Overflow

聂华翰
2023-12-01

Hi all i am trying to send base64 encoded image as string in request paramters from my app. It give me 400 and bad request error can any one please help me to sort this out

Here is the retrofit request

@GET("/api/storeProfileImages")

public void storeProfileImages(@QueryMap Map options, Callback response);

Here is request i see in logs

HTTP POST http://testdomain:8080/api/storeProfileImages?profileType=NETWORK_PROFILE&userid=839336562814130&imageData=%2F9j%2F4AAQSkZJRgABAQAAAQABAAD%2F2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB%0AAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH%2F2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEB%0AAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH%2FwAARCAELAMgDASIA%0AAhEBAxEB%2F8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL%2F8QAtRAAAgEDAwIEAwUFBAQA%0AAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3%0AODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm%0Ap6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4%2BTl5ufo6erx8vP09fb3%2BPn6%2F8QAHwEA%0AAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL%2F8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx%0ABhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK%0AU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqs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nnB6YBx068nIz8eeG%0AZpZfiXfNI5drWA%2FZycZiwxxs9Op6569TX19ojtLZ25kbf0PzY67mH9T%2BZ%2Bp%2FPs5zTEVc0%2Bpya5bL%0AXV6c8lte7197V9Ur%2B6m%2Fbpf7DQlXw91Ky3bV02l3b7uzbt3bd0XWjRRPm1n8s87cZ%2BbqOhJxjaTk%0A%2FUEnr5d4z1HWNK068gDZjlxbmeAkYyWwTkc5xkEe4Iyua9buDgM3c7cn6NIP5f5J5rn%2FABJDFLpc%0A%2FmIHxjGc%2FwB5ff8A2j%2BfU4rzM6y7E4bB5hXpYySa0SadtXUja9tlbTrZvRtHsZbmuHwtaX9qYKOY%0A7R1aS62snayfXdrpJu1vzP8AEXgvWbzVb29t%2FEF%2FFLcY22%2F2nrtY55PPU59jnnJor1bxnFHFrFwI%0A1CfKOn1PqT%2FnHpRX8m5rLDyzHFtZhnTXtOtenF%2FaSWk3fdat30V77n7M8noXevRd%2FwDP8z%2F%2F2Q%3D%3D%0A&seqNumber=1

it is very large string i just post first and last line

code for call

RestAdapter restadapter = new RestAdapter.Builder().setLogLevel(RestAdapter.LogLevel.FULL)

.setEndpoint(API).build();

final StoreImages storeImage = restadapter.create(StoreImages.class);

storeImage.storeProfileImages(imgParams, new Callback() {

@Override

public void success(CreateUpdateResp resp, Response response) {

}

@Override

public void failure(RetrofitError error) {

}

});

and it give me below response

HTTP/1.1 400 Bad Request

Connection: close

Date: Fri, 14 Aug 2015 11:57:26 GMT

Server: Apache-Coyote/1.1

Transfer-Encoding: chunked

X-Android-Received-Millis: 1439553509055

X-Android-Sent-Millis: 1439553508605

Please help me to sore this out.

 类似资料: