berkbatuhans / SAN-TSG-Interview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SAN TSG Interview

API source code

Task

  • .NET Core
  • POST Method Request go to attribute
  • When POST to any JSON body API, you need to print the JSON from the request to any file or database. go to code block

How to use?

Postman Settings

When sending the request, we set SSL certificate verification to OFF if it is ON.

Postman Collections Example

POST / https://localhost:5001/api/reservation

KEY VALUE
Content-Type application/json

Example Body

[
    {
        "operator": {
            "code": "AMOR",
            "name": "AMOR REISE GMBH"
        },
        "voucherNo": 0
    }
]

If the request is successful, it adds log records to the reservationFile.txt file in the reservationFiles folder.

SQL source code

Comments are added to the lines of code.

How to use SQL Server with a Docker container this Image

docker run -e ACCEPT_EULA=Y -e SA_PASSWORD=123456! -e TZ=Europe/Minsk -p 1433:1433 --name sqlserver -d microsoft/mssql-server-linux:latest

How to use Azure Data Studio

SQL Server Management Tool for Mac

Homebrew

brew cask install azure-data-studio

About


Languages

Language:Jupyter Notebook 98.2%Language:TSQL 1.1%Language:C# 0.7%