I'm quite new to bitcoin. I've been compiling the client from github and I want to run on a server as testnet and make some API requests. As I see in the documentation I should create a bitcoin.conf file. But where do I create this in case of compiled client
The location of your bitcoin.conf file depends on your operating system: https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File
Note that you can also pass any configuration value as command line argument.
The bitcoin.conf file has to be created within the .bitcoin folder.