I’ve been a PHP Symfony developer since a long time now, and there is a question I still did not find an answer. "What is the best practice for API versioning?". In my last project we have chosen to versioned the API via the code, but In my experience this king of approach make the ..
Category : api
I have an ASP.NET API that launches a bot to handle client transactions. The process is slow when there are several transactions that need to be implemented simultaneously. Everything is coded in C#. I’m wondering if Kubernetes is a viable solution. I would like to be able to make an API Call which will launch ..
In react (Nextjs) application, I am trying to implement PTI feature by referring https://starcard-org.github.io/pti-docs/guide/v0/#/?id=pti-clients-signature. As per this documentation, If I try to run docker login docker.pkg.github.com it will ask username and password which I don’t know where will I get the login details for it. I go through some documents but didn’t help me out. ..
I have a 3 Tier application where: Tier1 is the Ui : Angular2 + NodeJS Tier2 is the API: Nodejs + Express (+ cors, helmet) Tier3 is the database: Mysql v5.7 Everything works as expected when running locally outside Docker. When putting everything into Docker: Everything works as expected between the api and the database, ..
I am currently using WSO2 with Docker. I have published some APIs on the store but if Docker reboots all loose all my APIs. Therefore, I have followed this tutorial https://apim.docs.wso2.com/en/latest/install-and-setup/setup/reference/common-runtime-and-configuration-artifacts/#common-runtime-and-configuration-artifacts to create a folder that I mount into the wso2-artifact-volume. But when launching the Publisher it says that no APIs found. If I look ..
localhost(web-browser) – docker_nginx(frontend static files) – docker_api_server I set docker network like below nginx server : port mapped with localhost {PORT_NGINX_SERVER}:{PORT_NGINX_SERVER} nginx server has static files set as root : nginx is frontend server nginx server should proxy path /api to API_SERVER below is 502 error message from web-browser console domain: localhost:{PORT_NGINX_SERVER} request: GET /api/path ..
I have a Visual Studio solution in which I want to run various API microservices. Each microservice has the required Dockerfiles individually. I want to run the project using docker-compose, so I added container orchestration support. I also modified the necessary things in the docker-compose.yml and override files. I then set up docker-compose as the ..
I am currently running a project on docker, and I am trying to communicate with the database via an API. They are both deployed on docker. The problem is, when I make a call to the API (via Postman or the front-end) I SOMETIMES get a 500 error. When I look at the logs (docker-compose ..
I use Django 2.2.6, python 3.7 and requests 2.25.1. Since I have started consuming a 3rd party APIs, I have noticed that if the request to this 3rd party API takes too long to respond, in the meanwhile all my Django endpoints are freezed, waiting for it. For instance, lets say I have these 2 ..

Dear all, My API works locally when I run it on localhost but it does not work when I upload a Docker image to Google Cloud. The error is attached in a picture. Here is my Dockerfile: FROM python:3.8-slim-buster ENV APP_HOME /app WORKDIR $APP_HOME COPY . ./ COPY requirements.txt ./ RUN pip install -r requirements.txt ..