Questions tagged [api]

The tag has no usage guidance.

26 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
2 answers
2k views

API Monitoring and Hooking

I am currently reading the "Malware Analyst's Cookbook and DVD". There is a chapter "Dynamic Analysis" and there are also some recipes about hooking and monitoring API calls of process but it is for ...
Greeneco's user avatar
  • 401
3 votes
1 answer
958 views

Cocoa API implementation for Linux?

Is there any Wine-like project for running OS X apps on Linux? I mean an implementation of Cocoa API for standard Linux machine, as it is done with Wine.
enedil's user avatar
  • 1,674
2 votes
0 answers
10k views

502 Bad Gateway when curl is talking to API

A curl command in a Bash script (called by cron) asks a web service/API, on another device/server (hosts both the API and the SQL database), to perform an operation on a database. How long this ...
Nils Deschrijver's user avatar
1 vote
0 answers
195 views

Where can I find the documentation for the Linux NPU API?

For example the Samsung Galaxy S10 has an Exynos 9820 CPU with integrated NPU. We all know Android is based on Linux. So where can I find the Linux API documentation about how to interact with the NPU?...
zomega's user avatar
  • 962
1 vote
0 answers
65 views

Is there an API to query setxkbmap's current layout?

A bit related to this previous question of mine, I wonder if there's a way to query what is the current layout. Say I have run setxkbmap -layout it,ru -variant ,phonetic -option 'grp:caps_toggle' and ...
Enlico's user avatar
  • 1,545
1 vote
0 answers
64 views

Non-polling method of being notified of user activity after given idle time on desktop systems

There are already many questions similar to this but all the ones I could find have answers that suggest polling methods (1, 2) or seem like extreme hacks (3), so I want to ask the same question but ...
smheidrich's user avatar
1 vote
0 answers
91 views

Getting Error 503 trying to connect with Grouper with user and pass via python

I have an apache proxy server setup with following in my .htaccess file #Header always set Access-Control-Allow-Origin "*" Header onsuccess unset Access-Control-Allow-Origin Header always ...
user478061's user avatar
1 vote
0 answers
177 views

Environment variables in project are all wrong/different

I'm not an expert nor very proficient in OS and shell commands, and that's why I've come for help. I was successfully storing my API Keys for my Flutter project as Environment Variables, until I had ...
Agustin Barajas's user avatar
1 vote
0 answers
43 views

How to write openapi swagger file for ubuntu iptables rules auditing

I want to audit ubuntu iptable rules with openapi REST. So, I need swagger file. Can anyone guide me how to do this? Actually I am using Azure Logic App and I want to use custome api connector for ...
kyi so thin's user avatar
1 vote
0 answers
46 views

Host data that everybody can update

I work with C# in my spare time and have written a number of programs as one of my hobbys. So I dont consider myself a programmer, I just like to write solutions for problems I come across. My latest ...
Roo's user avatar
  • 11
1 vote
0 answers
256 views

How to automate downloading recent file uploaded in Google Drive folder?

I want to automate the downloading of files that are daily uploaded to a shared Google Drive folder.
Quoros's user avatar
  • 11
1 vote
0 answers
95 views

Setting up working environment - Konsole or other terminal - open few tabs and run some commands

I have a working environment where I run a web server, TSC compiler, and then work in few directories in a console, and also run few programs - IDE, 2x gitk, krusader. I would like to be able to ...
Ondra Žižka's user avatar
1 vote
1 answer
441 views

Proxmox OpenVZ /cluster/resources returning incomplete info

I have a few Proxmox nodes, yesterday, I upgraded them all to 3.4-11. Today I found one of the node is not showing OpenVZ node correctly in the Proxmox UI. Then I did a bit investigation and found ...
Qian Chen's user avatar
  • 799
1 vote
0 answers
891 views

Can't run php cli at webuser but will run as root

I am running a Magento application on a Nginx server. nginx + php-fpm running as webuser:www There are some function in the shell directory of Magento which run fine as root and the import run fine ...
brentwpeterson's user avatar
1 vote
0 answers
56 views

Very strange issue, something is blocking specific links on local domain

I have a very strange issue and I ran out of ideas. The major problem is that the symptoms are not consistent. I have a short link website hosted on 2 virtual machines, one with nginx+php-fpm and one ...
SeerKan's user avatar
  • 21
0 votes
0 answers
14 views

Is it possible to route API with condition in 3scale

I am very new to Redhat 3scale. We have a requirement to route the API request. I do not have any idea whether it is really possible or not. Searched in internet but did not get much idea on it. ...
smilyface's user avatar
  • 111
0 votes
0 answers
2k views

curl -X GET is reaching the server with HTTP/1.1 200 OK but not producing expected output

I am using the below command: curl -X GET 'https://<my_account>.atlassian.net/rest/api/3/project/search' This returns "header" information indicating that that command was successful:...
Scouse_Bob's user avatar
0 votes
0 answers
985 views

Asynchronous json post requests with cURL, minimize overhead?

I think my method to make asynchronous post requests to API endpoint has some overhead. From stackoverflow I learned that libcurl is an alternative way but I am not familiar with libcurl and that with ...
hillsonghimire's user avatar
0 votes
0 answers
123 views

API can't use Integer Variable but static Integer

I am using an API and I'm not able to bind an Integer Variable into it. I will attach my script below, but a little explanation can't hurt: Another script filters data that is send via curl, most of ...
Serj's user avatar
  • 1
0 votes
0 answers
186 views

Is there dependency between Unix/Linux IPC facilities?

The Linux Programming Interface summarizes UNIX/Linux IPC facilities for communication and synchronization Is there dependency between any of the facilities? Either between their interfaces or their (...
Tim's user avatar
  • 102k
0 votes
1 answer
56 views

CURL to a website API respondsdifferent result

As the title says, im using firefox network explorer to consume an API, i've copied several things sucessfully like this, but this one gives a different result So, in the web the query is a GET to ...
El_Manuel0's user avatar
0 votes
1 answer
269 views

WSO2 API Manager `filter` mediation not entered as it should

I am working to put an API behind WSO2 API Manager installed on premise. I designed the API, added the endpoint and add a first mediation sequence which add Authorization header at runtime. And it ...
Sélom ATSOU's user avatar
0 votes
0 answers
20 views

Upload my output to my aws webserver

I want to use the output data from my cmd to the Dashboard in a webserver in a table format. I ran this command: curl -s "http://3.135.18.96:8153/go/api/support" | jq '."Config Statistics"."Valid ...
faraz's user avatar
  • 1
0 votes
0 answers
144 views

Problem with the limit of requests api youtube v3 search

I execute the following command: curl -G https://www.googleapis.com/youtube/v3/search \ -d part="id" \ -d q="es-por-ti-juanes" \ -d maxResults="1" \ -d key="..........." \ -d type="video" \ -d ...
ortiga's user avatar
  • 131
0 votes
1 answer
110 views

python Ovirtsdk api, how to start a vm in paued mode

I am trying to start a vm in paused mode, but running into issues. I'm able to connect to the API and start vms normally, but I cannot seem to get the params part right for staring paused. In this ...
Jonathan's user avatar
0 votes
2 answers
541 views

Modded Steam game crashes on start, Steam API does not load, cannot read core dump

I have the latest version of Empire: Total War in Steam on Arch Linux x86_64. I have followed this Reddit guide to install DME. I have gone through each and every step (except the optional ones) and ...
Exercise To The Reader's user avatar