rest

Unit test di un'API REST in Java e Spring

Ho una semplice applicazione Java Spring REST API e non so come posso testarla. Ho letto le documentazioni di JUnit e Mockito ... Voglio solo un test unitario. Mi usa supertest nel Nodo.js e si prende cura di tutti, posso farlo anche con JUnit o Mockito?

Autenticazione su blockchain da un client Java?

Ho una rete blockchain costruita utilizzando Hyperledger Composer, avviato il server Rest Composer e generato codice client J ... rei concedere l'accesso all'utente per interagire con la blockchain dopo aver effettuato l'accesso alla mia app web? Grazie.

Come usare Zapier con la mia API Java RESTful

Mi è stato chiesto di utilizzare Zapier per inviare SMS e aggiungere come abbonato a MailChimp una volta chiamato l'endpoint ... ze, tutto ciò che trovo sono le soluzioni dell'interfaccia utente che funzionano direttamente in zapier. Grazie in anticipo.

qual è il modo migliore per unire due bean java in API RESTful?

Lo scenario è semplice: UI chiama API RESTful per ottenere un albero di oggetti, quindi UI cambia alcuni dati e chiama API RE ... for(String one: ignoredList){ System.out.println(one); } Ma ignoredList è sempre null. Sto usando Jackson 1.9.2

Come posso inviare una cartella come risposta al client tramite REST usando Java?

Voglio inviare una cartella o un elenco di file nella cartella particolare come risposta al client tramite REST utilizzando j ... } Lavorare in una macchina Windows. Qualcuno può darmi qualche consiglio o esempi di codice funzionante a cui conformarsi?

Java OAuth 2.0 ottenere token di accesso

Voglio ottenere token di accesso OAuth 2.0 dall'API REST tramite Codice Java , il fatto è che sono riuscito a recuperarlo c ... ce Java. Qualcuno può aiutarmi ad aggiungere cose mancanti o guidarmi verso le giuste direzioni? Documenti CollabNet: Saso

Servizi REST per HyperLedger Fabric JAVA Chaincode

Sono molto nuovo nello sviluppo di blockchain e vengo a sapere di hyper ledger fabric per le blockchain dei permessi. Il mio ... ode dovrebbe essere in linguaggio Java)? 2) È vero che Hyperledger Composer non è affidabile per il lungo periodo? Grazie,

Il corpo della richiesta POST non può contenere caratteri cinesi in Java

Sto usando Hibernate e GSON per recuperare i dati come oggetto in Java e creare un metodo .toString tramite GSON nel POJO per ... on", "Bearer " + token); post.setEntity(new StringEntity(entity.toString())); response = httpClient.execute(post);

Supporto API SDK online di Microsoft Project / REST API

Voglio creare/aggiornare il progetto in Microsoft Project online utilizzando alcuni dati di riferimento. Sono disponibili API REST o SDK? Soprattutto per i client Java?

How to properly deploy RestFul written in Java?

I started studying the issue of developing a RestFul service. Developed a Java service in NetBeans, as a PostgreSQL database ... il the deployment of the war file on it) You have a war file(it doesn't matter from which one IDE) We do the following ...

Testing rest java

I would like to know how to properly test rest services.For example, I want to test the post and get methods of some service ... use post.I heard it's not a good one approach.What should I do in this situation?I will be happy for any help and resources.

How to generate swagger documentation with java

Hello everyone I'm starting to understand Restful services and now there is a need to write documentation for swagger. I loo ... wagger annotations. Maybe some kind of tool or service. Because if I write it manually, then what's the point of annotations?

Java Backend for Android

I'm writing a backend for a mobile platform. Previously, I wrote only for Web clients, there is already an almost ready-made ... ecurity and whether there are any nuances with working under mobile. I didn't find any normal examples. Thank you in advance!

Example of Rest API on java-Server Error 500

When executing the example with the Rest API from the Oracle site, the server error 500 appears. The log shows:WARNING: The ( ... ) @Produces(MediaType.APPLICATION_JSON) public Note[] getAll(){ return nList.toArray(new Note[0]); } }